package com.huixin.powermonitor.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author huixin
 * @since 2025-07-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="AlarmRecords对象", description="")
public class AlarmRecords implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "alarm_id", type = IdType.AUTO)
    private Integer alarmId;

    private Integer deviceId;


    private String alarmType;

    private LocalDateTime alarmTime;

    private String alarmLevel;

    private String processStatus;

    private Integer processUserId;
    @TableField(exist = false)
    private String name;
    private LocalDateTime processTime;
    @TableField(exist = false)
    private String deviceName;

//    @TableField(exist = false)
//    private String userName;

    private String value;


}
